﻿using System.Windows;
using System.Windows.Controls;

namespace Flare.Pages
{
    public partial class Managment : UserControl, ITypicalPage
    {
        public string name
        {
            get { return "Настройки"; }
        }

        public Managment()
        {
            InitializeComponent();
        }

        private void InsertServices_Click(object sender, RoutedEventArgs e)
        {

            glob.kernel.ShowPage(typeof(Pages.ITContract.Service));
        }

        private void InsertProvider_Click(object sender, RoutedEventArgs e)
        {
            glob.kernel.ShowPage(typeof(Pages.ITContract.Provider));
        }

        private void InsertDepartment_Click(object sender, RoutedEventArgs e)
        {
            glob.kernel.ShowPage(typeof(Pages.General.Department));
        }

        private void InsertHardType_Click(object sender, RoutedEventArgs e)
        {
            glob.kernel.ShowPage(typeof(Pages.Hards.HardType));
        }

        private void InsertHardMark_Click(object sender, RoutedEventArgs e)
        {
            glob.kernel.ShowPage(typeof(Pages.Hards.HardMark));
        }

        private void InsertHardModel_Click(object sender, RoutedEventArgs e)
        {
            glob.kernel.ShowPage(typeof(Pages.Hards.HardModel));
        }

        private void InsertRoom_Click(object sender, RoutedEventArgs e)
        {
            glob.kernel.ShowPage(typeof(Pages.General.Room));
        }
    }
}
